//
//  JFCTableViewSection.swift
//  jianfeiApp2C
//
//  Created by Mac on 2020/4/20.
//  Copyright © 2020 com.yanjiuyuan. All rights reserved.
//

import Foundation

public class JFCTableViewSection {
    
    // 标识这个section
    public var key: String?
    
    // cell的vm数组
    public var viewModels: Array<Any> = []
    
    // 这个section的row数
    public var numberOfRows: Int {
        return viewModels.count;
    }

    init(key: String, viewModels: Array<Any>) {
        self.key = key
        self.viewModels = viewModels
    }
}
